﻿using Microsoft.EntityFrameworkCore;
using ProductIntory.Domains;
using Purchase.Domian.Model;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Purchase.Infrastructrue
{
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<MaterialInfo> MaterialInfo { get; set; }
        public DbSet<Procurement> Procurement { get; set; }
        public DbSet<SalesQuotationModel> SalesQuotationModel { get; set; }
        public DbSet<SupplierGrade> SupplierGrade { get; set; }
        public DbSet<SupplierModel> SupplierModel { get; set; }
        public DbSet<Quality> Quality { get; set; }
        public DbSet<InspectionDep> InspectionDep { get; set; }
        public DbSet<Useres> Useres     { get; set; }
        public DbSet<QualityInspectionModel> QualityInspectionModel { get; set; }
        public DbSet<PurchaseContractModel> PurchaseContractModel { get; set; }


    }
}
